package first.c01;

public class NewRelease extends PriceCode {

	public int getPriceCode() {
		return Movie.NEW_RELEASE;
	}

	public double getCharge(int daysRented) {
		return daysRented * 3;
	}

	public int getFrequentRenterPoints(int daysRented) {

		if (daysRented > 1) {
			return 2;
		} else {
			return 1;
		}
	}
}
